import {request} from "./request.js"

export function getChiainfo() {
	return request({
		url: '/api/pool/chiainfo/',
		method: 'get'
	})
}

export function updateChiainfo(data) {
	return request({
		url: '/api/pool/updatechiainfo/',
		method: 'put',
		data: data
	})
}